package com.luoye.lj.platform.service;


import com.luoye.lj.platform.model.domain.RoleInfo;
import com.luoye.lj.platform.model.domain.manage.ManageLog;
import com.luoye.lj.platform.model.domain.manage.ManageLogCollection;
import com.luoye.lj.platform.model.domain.manage.ManageLogSearchCondition;
import com.luoye.lj.platform.model.domain.muser.*;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Dave Liu
 * Date: 15-9-28
 * Time: 下午3:48
 * To change this template use File | Settings | File Templates.
 */
public interface IMuserservice {
    //在这里写你的服务提供的相关方法

    //获取详细管理用户信息
    MUserDetail getUserDetail(String username);
    //获取所有角色
    List<RoleInfo> getRoles();
    //添加用户
    MUserInfo addUser(MUserSaveInfo mUserSaveInfo);
    //修改用户
    MUserInfo modifyUser(MUserSaveInfo mUserSaveInfo);
    //获取详细管理用户信息
    MUserDetail getUserDetail(long id);
    //写入日志
    ManageLog insertLog(ManageLog manageLog);
    //按条件查询用户详细信息
    MUserDetailCollection searchByCondition(MUserDetailSearchCondition muserDetailSearchCondition);
    //删除用户
    boolean delUser(long id);
    //查询操作日志
    ManageLogCollection searchManageLog(ManageLogSearchCondition manageLogSearchCondition);

    //修改用户
    MUserInfo modifyUserInfo(MUserInfo mUserInfo);


}
